ul {
    margin: 0;
    padding: 0;
}

video,
img {
    max-width: 100%;
}

a,
a:hover {
    outline: 0;
    cursor: pointer;
    text-decoration: none;
}

textarea,
input,
button,
button:focus {
    outline: 0;
}

.alert {
    height: 50px;
    position: fixed;
    top: 5px;
    right: 5px;
    width: 300px;
    max-width: 100%;
    z-index: 999;
    overflow: hidden;
    padding: 0 20px;
    line-height: 47px;
}

.alert .close {
    position: absolute;
    right: 7px;
    top: 9px;
}

label {
    margin: 0;
}

.zindex {
    z-index: 9999 !important;
}

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    color: #fff;
    height: 60px;
    line-height: 60px;
}

.login {
    background: url(../img/webBg.png) 0 0/10px 10px;
    height: 100%;
}

.login .logo {
    padding-top: 5%;
    margin-bottom: 10%;
    margin-left: 10%;
}

.login .logo img {
    height: 50px;
}

.login .left {
    text-align: center;
}

.login .left img {
    width: 65%;
}

.login .cat {
    padding-top: 10px;
    position: relative;
    width: 60%;
    margin: 0 auto;
}

.login .right input:first-child {
    margin-top: 10px;
}

.login .right input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 0;
    border-radius: 4px;
    outline: 0;
    margin-top: 13px;
}

.login .right input.submit {
    display: block;
    padding: 0;
    width: 100%;
    font-size: 16px;
    line-height: 38px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    background: #0085d4;
    border: 0;
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 1px rgba(50, 50, 50, .05);
    outline: 0;
    cursor: pointer;
}

.login .right form {
    width: 60%;
    margin: 0 auto;
}

.login .right .clearfix {
    text-align: right;
    font-size: 12px;
    color: #fff;
    margin-top: 5px;
    color: #a5dbff;
}

.login .right .clearfix a {
    color: #fff;
}

.login .right li {
    list-style: none;
    display: inline-block;
}

.login .right li a {
    display: block;
    font-size: 16px;
    color: #a5dbff;
    width: 60px;
    height: 30px;
    line-height: 30px;
}

.login .right li a.active {
    font-size: 16px;
    color: #fff;
}

.login .triangle-up {
    position: absolute;
    bottom: -10px;
    left: 11px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 7px solid #fff;
}

#trans-tooltip,
#tip-arrow-bottom,
#tip-arrow-top {
    display: none !important;
}

.home .left {
    background: url(../img/barBg.png);
    height: 100%;
    padding: 0;
    float: left;
    width: 70px;
    position: relative;
}

.home .left .foot {
    position: absolute;
    right: 0;
    bottom: 10px;
    font-size: 47px;
    color: #fff;
    width: 100%;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.home .left .float {
    position: absolute;
    right: -100px;
    bottom: 10px;
    font-size: 14px;
    color: #333;
    width: 100px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    z-index: 99;
    background: #fff;
    border-radius: 5px;
    padding: 10px 0;
    box-shadow: 2px 3px 10px #cccccc;
}

.home .left .float a {
    padding: 5px 10px;
    display: block;
    color: #333;
}

.home .left .float .triangle {
    position: absolute;
    bottom: 24px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 7px solid #fff;
}

.home .left li {
    display: block;
    padding-top: 15px;
    transition: background .2s linear;
    cursor: pointer;
}

.home .left .user {
    height: 70px;
    user-select: none;
}

.home .left .user a {
    display: block;
    background-color: rgb(130, 178, 255);
    color: #fff;
    text-align: center;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin: 0 auto;
    line-height: 40px;
    font-size: 20px;
}

.home .left .message {
    height: 70px;
}

.home .left .message a {
    display: block;
    background: url(../img/icons.png) 3px 0/108px auto no-repeat;
    color: #fff;
    text-align: center;
    height: 40px;
    width: 40px;
    margin: 0 auto;
}

.home .left .contacts {
    height: 70px;
}

.home .left .contacts a {
    display: block;
    background: url(../img/icons.png) 3px -36px/100px auto no-repeat;
    color: #fff;
    text-align: center;
    height: 40px;
    width: 40px;
    margin: 0 auto;
}

.home .left li {
    position: relative;
}

.home .left li.active,
.home .left li:hover {
    background: rgba(55, 55, 55, .1) !important;
}

.home .left li .ide {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 15px;
    left: 15px;
    border-radius: 50%;
    background: #f00;
    display: none;
}

.home .center {
    height: 100%;
    background: url(../img/panel.png) #f4f8fc;
    background-size: 50%;
    width: calc(100% - 70px);
    position: relative;
    padding-top: 63px;
}

.home .center form {
    padding: 0 15px;
    border-bottom: 1px solid #e1e9f1;
    margin: 0;
    position: absolute;
    top: 0;
    width: 100%;
    height: 63px;
    display: flex;
    height: 63px;
    align-items: center;
    justify-content: center;
}

.home .center form .form-group {
    width: 100%;
    position: relative;
    margin: 0;
}

.home .center form input {
    border: 0;
    text-indent: 2em;
    background: url(../img/icons.png) 10px -110px/108px auto no-repeat #fff;
    width: 100%;
    height: 34px;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.home .center form i {
    position: absolute;
    width: 17px;
    height: 17px;
    top: 8px;
    right: 8px;
    cursor: pointer;
    background: url(../img/clear.png) 0 0/17px 17px no-repeat;
}

.home .center .box {
    padding-left: 1px;
    height: 100%;
    overflow-y: auto;
    user-select: none;
}

.home .center .box::-webkit-scrollbar {
    width: 1px;
    height: 1px;
    background-color: none;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}

.home .center .box::-webkit-scrollbar-thumb {
    background-color: rgba(118, 176, 243, 1);
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}


/* 
.home .center .box:hover {
    overflow-y: scroll;
} */


/* .home .center .box:hover::-webkit-scrollbar-thumb {
    background-color: rgba(118, 176, 243, 1);
} */

.home .center .list li {
    list-style: none;
    display: block;
    position: relative;
    background: #f4f8fc;
}

.home .center .list li.active,
.home .center .list2 li.active {
    background: #f1f1f1;
}

.home .center .list li a {
    display: table;
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid #e1e9f1;
    clear: both;
    position: relative;
}

.home .center .list li a .ide {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 15px;
    left: 15px;
    border-radius: 50%;
    background: #f00;
    display: none;
}

.home .center .list li .head {
    width: 55px;
    height: 55px;
    float: left;
    border-radius: 50%;
    font-size: 33px;
    line-height: 55px;
    text-align: center;
    color: #fff;
}

.home .center li:nth-child(1n+0) .head {
    background: #2196F3;
}

.home .center li:nth-child(2n+0) .head {
    background: #26A69A;
}

.home .center li:nth-child(3n+0) .head {
    background: #8BC34A;
}

.home .center li:nth-child(4n+0) .head {
    background: #FBC02D;
}

.home .center li:nth-child(5n+0) .head {
    background: #F57C00;
}

.home .center li:nth-child(6n+0) .head {
    background: #EF5350;
}

.home .center li:nth-child(7n+0) .head {
    background: #455A64;
}

.home .center li:nth-child(8n+0) .head {
    background: #6D4C41;
}

.home .center li:nth-child(9n+0) .head {
    background: #3F51B5;
}

.home .center .list li .name {
    width: calc(100% - 60px);
    float: left;
}

.home .center .list li .name .nick {
    line-height: 20px;
    font-size: 14px;
    color: #000;
    margin-left: 10px;
}

.home .center .list li .name .nick small {
    color: #8e969f;
}

.home .center .list li .name .msg {
    color: #8e969f;
    font-size: 12px;
    width: 100%;
    display: -webkit-box;
    height: 38px;
    margin-left: 10px;
    overflow: hidden;
}

.home .center .list li .time {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 12px;
    color: #8e969f;
    cursor: pointer;
}

.home .center .list li .time img {
    width: 20px;
    height: 20px;
}

.home .center .list2 .category {
    background: #e9f0f8;
    height: 36px;
    line-height: 36px;
    padding-left: 24px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px #f4f8fc solid;
}

.home .center .list2 .category span {
    float: right;
    margin-right: 18px;
    margin-top: 15px;
    color: #bbd3ee;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    border-bottom: 0;
    border-top: 5px solid;
}

.home .center .list2 .category span.open {
    border-bottom: 5px solid;
    border-top: 0;
}

.home .center .list2 li {
    list-style: none;
    display: block;
}

.home .center .list2 li a {
    display: table;
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid #e1e9f1;
    clear: both;
    position: relative;
}

.home .center .list2 li .head {
    width: 35px;
    height: 35px;
    float: left;
    border-radius: 50%;
    font-size: 14px;
    line-height: 35px;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.home .center .list2 li .name {
    line-height: 20px;
    font-size: 14px;
    float: left;
    color: #000;
    margin-left: 10px;
    line-height: 35px;
}

.home .right {
    background: url(../img/emptyBox.png) no-repeat center center #f9fbfd;
    background-size: 70%;
    height: 100%;
    padding: 0;
}

.home .right .box {
    height: 100%;
    background: #f9fbfd;
    position: relative;
    padding-top: 63px;
    padding-bottom: 170px;
    z-index: 9;
}

.home .right .box .del {
    position: absolute;
    right: 20px;
    top: 14px;
    cursor: pointer;
}

.home .right .nickname {
    position: absolute;
    top: 0;
    width: 100%;
    height: 63px;
    line-height: 63px;
    border-bottom: 1px solid #e1e9f1;
    padding-left: 20px;
    font-size: 20px;
}

.home .right .textarea {
    background: #fff;
    height: 170px;
    /* overflow: hidden; */
    position: absolute;
    bottom: 0;
    width: 100%;
}

.home .right .textarea .tools li {
    list-style-type: none;
}

.home .right .textarea .emoji {
    position: absolute;
    bottom: 100%;
    left: 0;
    z-index: 99999;
    background: #fff;
    border-bottom: 1px #ddd solid;
    width: 100%;
    box-shadow: 3px -3px 5px #b3b4b5;
}

.home .right .textarea .emoji .category ul {
    background: #f5f5f5;
}

.home .right .textarea .emoji .category li {
    display: inline-block;
}

.home .right .textarea .emoji .category li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 3px 10px;
    background: #f5f5f5;
}

.home .right .textarea .emoji .category li a.active {
    background: #fff;
}

.home .right .textarea .emoji #emojiLi ul {
    padding: 5px 0;
}

.home .right .textarea .emoji #emojiLi li {
    display: inline-block;
}

.home .right .textarea .emoji #emojiLi li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.home .right .textarea .tools {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    user-select: none;
}

.home .right .textarea .tools img {
    width: 25px;
    height: 25px;
}

.home .right .textarea form textarea {
    height: 90px;
    border: 0;
    width: calc(100% - 20px);
    font-size: 14px;
    padding: 0 20px;
}

.home .right .textarea form span {
    color: #999999;
    font-size: 12px;
    position: absolute;
    left: 20px;
    bottom: 11px;
}

.home .right .textarea form #submit {
    float: right;
    margin-right: 20px;
    background: #eee;
    font-size: 14px;
    padding: 5px 20px;
    border: 0;
    border-radius: 3px;
}

.home .right .textarea form #submit:hover {
    background: #0085d4;
    color: #fff;
}

.home .right .textarea form textarea::-webkit-scrollbar {
    width: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.home .right .textarea form textarea::-webkit-scrollbar-thumb {
    background: #0085d4;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.home .right .contents {
    height: 100%;
}

.home .right .contents .boxs {
    height: 100%;
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    background: #f1f1f1;
}

.home .right .contents .boxs::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.home .right .contents .boxs::-webkit-scrollbar-thumb {
    background-color: rgb(83, 161, 250);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}


/* .home .right .contents .boxs:hover {
    overflow-y: scroll;
}

.home .right .contents .boxs:hover::-webkit-scrollbar-thumb {
    background-color: rgb(83, 161, 250);
} */

.home .right .contents .medias {
    display: table;
    width: 100%;
    margin-top: 20px;
}

.home .right .contents .medias .medias-left {
    float: left;
}

.home .right .contents .medias .medias-head {
    width: 55px;
    user-select: none;
    height: 55px;
    border-radius: 50%;
    font-size: 33px;
    line-height: 55px;
    text-align: center;
    color: #fff;
    background: #f3db73;
}

.home .right .contents .medias h4 {
    color: #999;
    font-size: 16px;
    font-weight: 400;
    margin: 0px 10px;
}

.home .right .contents .medias .medias-text {
    position: relative;
    background: #fff;
    word-wrap: break-word;
    word-break: break-all;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    float: left;
}

.home .right .contents .medias-body {
    max-width: 60%;
    float: left;
}

.home .right .contents .triangle {
    position: absolute;
    top: 5px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 7px solid #fff;
}

.home .right .contents .medias.flr .medias-text {
    float: right;
}

.home .right .contents .medias.flr .medias-left {
    float: right;
}

.home .right .contents .medias.flr .medias-body {
    float: right;
}

.home .right .contents .medias.flr .medias-head {
    background: #00b8d4;
    user-select: none;
}

.home .right .contents .medias.flr .medias-heading {
    text-align: right;
}

.home .right .contents .medias.flr .triangle {
    position: absolute;
    top: 5px;
    left: auto;
    right: -7px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 0;
    border-left: 7px solid #fff;
}

.home .right .contents .message {
    margin-top: 10px;
    text-align: center;
}

.home .right .contents .message span {
    background: rgba(0, 0, 0, .3);
    font-size: 12px;
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
}

.empty {
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.weather li {
    margin-bottom: 10px !important;
}

.weather {
    /* padding: 0 10px; */
    font-size: 15px;
    margin-top: 30px;
}

.weather .title {
    color: #333333;
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
}

.weather h5 {
    font-size: 14px;
    margin: 0;
}

.weather table {
    width: 100%;
}

.weather table th,
.weather table td {
    font-size: 14px;
    color: #333 !important;
    text-align: center;
    padding-bottom: 5px;
}

.weather table td {
    padding-bottom: 10px;
    color: #aaa !important;
}

.relogio {
    width: 250px;
    height: 250px;
    position: absolute;
    right: 50%;
    bottom: 10%;
    margin-right: -125px;
    z-index: 1;
}

span#todaydatetime {
    position: absolute;
    right: 50% !important;
    bottom: 34px;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    border-radius: 5px;
    padding: 3px 10px;
    margin-right: -39px;
}

.box2 {
    height: 100%;
    background: #f9fbfd;
    position: relative;
    padding-top: 63px;
    /* padding-bottom: 170px; */
    z-index: 9;
}

.box2 .message .title,
.box2 .friend .title {
    position: absolute;
    top: 0;
    width: 100%;
    height: 63px;
    line-height: 63px;
    border-bottom: 1px solid #e1e9f1;
    padding-left: 20px;
    font-size: 20px;
}

.box2 .message .contents,
.box2 .friend .contents {
    height: 100%;
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    background: #f1f1f1;
}

.box2 .message ul li {
    position: relative;
    padding-left: 100px;
}

.box2 .message ul .head {
    position: absolute;
    left: 22px;
    top: 8px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 33px;
    line-height: 55px;
    text-align: center;
    color: #fff;
}

.box2 .message ul .badge {
    position: absolute;
    right: 20px;
    top: 24px;
    font-size: 14px;
    font-weight: 400;
    padding: 5px 10px;
    cursor: pointer;
}

.box2 .message ul textarea {
    margin-top: 10px;
    font-size: 14px;
}

.box2 .message ul li:nth-child(1n+0) .head {
    background: #2196F3;
}

.box2 .message ul li:nth-child(2n+0) .head {
    background: #26A69A;
}

.box2 .message ul li:nth-child(3n+0) .head {
    background: #8BC34A;
}

.box2 .message ul li:nth-child(4n+0) .head {
    background: #FBC02D;
}

.box2 .message ul li:nth-child(5n+0) .head {
    background: #F57C00;
}

.box2 .message ul li:nth-child(6n+0) .head {
    background: #EF5350;
}

.box2 .message ul li:nth-child(7n+0) .head {
    background: #455A64;
}

.box2 .message ul li:nth-child(8n+0) .head {
    background: #6D4C41;
}

.box2 .message ul li:nth-child(9n+0) .head {
    background: #3F51B5;
}

.list2 .msg2 .ide {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 13px;
    left: 13px;
    border-radius: 50%;
    background: #f00;
    display: none;
}

@media (max-width: 576px) {
    .relogio {
        bottom: 0;
    }
    #todaydatetime {
        right: 166px !important;
    }
    .weather {
        margin-top: 0;
    }
}